package cn.dnui_xcz826.dnuifood_16110100826.service;

import java.util.List;


import cn.dnui_xcz826.dnuifood_16110100826.bean.FoodBean;
import cn.dnui_xcz826.dnuifood_16110100826.bean.ShopBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by neusoft on 2018/10/29.
 */

public interface ShopService {
    @GET("getAllShops.do")
    Call<List<ShopBean>> getAllShops();

    @GET("getFoodByShop.do")
    Call<List<FoodBean>> doGetFoodByShop(
            @Query("shop_id") String shop_id
    );

    @GET("getShopById.do")
    Call<ShopBean> doGetShopById(
            @Query("shop_id") String shop_id
    );
}
